
import axios from "../../utils/http";

// 登录接口
export const getLogin = (username, password) => {
    return axios.get(
        `/du/login?username=${username}&password=${password}`
    );
};

// 忘记密码？修改密码
export const putPassword = (data) => {
    return axios.put(
        `/user/updatePw`,
        data
    );
};